]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dateMenu: Remove bad setColumnWidths call
authorJasper St. Pierre <jstpierre@mecheye.net>
Tue, 11 Jun 2013 21:44:01 +0000 (17:44 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 12 Jun 2013 20:13:47 +0000 (16:13 -0400)
The correct API is to pass in an array, so I don't even know how
this managed to work before.

https://bugzilla.gnome.org/show_bug.cgi?id=702125

js/ui/dateMenu.js

index 9d6dc550eb1c1996b6b68325963b470a789d1d88..3e522acfc15e8fb97d8f8b3c5416f4179fcce360 100644 (file)
@@ -80,7 +80,6 @@ const DateMenuButton = new Lang.Class({
         vbox.add(this._calendar.actor);
 
         let separator = new PopupMenu.PopupSeparatorMenuItem();
-        separator.setColumnWidths(1);
         vbox.add(separator.actor, {y_align: St.Align.END, expand: true, y_fill: false});
 
         this._openCalendarItem = new PopupMenu.PopupMenuItem(_("Open Calendar"));